package com.css.fxfzypg.modules.baseData.service;

import com.css.fxfzypg.modules.baseData.entity.*;
import com.css.fxfzypg.modules.preAssessResult.entity.Vulnerability;

import java.util.List;

/**
 * @author DBJ
 */
public interface BasicDataService {
    public List<TaskPbe> getAllPbeByTaskId(String taskId);
    public void save(CenterResult centerResult);

    void updateTaskPbe(TaskPbe pbe);

    void deleteCenterResultByTaskId(String taskId);

    List<CenterResult> getCenterResult(String taskId);

    void insertTaskPbe(TaskPbe pbe);

    void deleteSettingSeismicPbeByTaskId(String taskId);

    void deleteSettingSeismicPbeEconomicByTaskId(String taskId);

    void insertTaskPbeEconomic(TaskPbeEconomic taskPbeEconomic);

    int getPbeByTaskId(String taskId);

    int getEconomicByTaskId(String taskId);

    List<CenterSumResult> getCenterSumResult(String taskId);

    int getPbeInjuriesByTaskId(String taskId);

    int getPbeLossesByTaskId(String taskId);
}
